package org.ryr.demo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.ryr.demo.bean.Demo;
import reactor.core.publisher.Flux;

@Mapper
public interface DemoMapper {

    @Select("select * from demo order by create_time desc")
    Flux<Demo> get();

}
